package edu.hut.bookshop.dao;

import edu.hut.bookshop.pojo.Business;

public interface BusinessMapper {

    /**
     *  商家注册
     * @param business
     * @return
     */
    int insertBusiness(Business business);

    /**
     *  查询商家名
     * @param bName
     * @return
     */
    Business selectBybName(String bName);
}
